package org.rich.charlesmurphy.core;

import java.io.File;

/**
 * Command object for the {@link DataLoader}.
 * @author Rich
 */
public class DataLoaderCommand {
	private File[] files;
	private InputFileType fileType;
	private String sessionName;
	private String host;
	private boolean filterAjax;

	/**
	 * Create a command object.
	 * @param files
	 * @param fileType
	 * @param sessionName
	 * @param host
	 * @param filterAjax
	 */
	public DataLoaderCommand(final File[] files, final InputFileType fileType,
			final String sessionName, final String host, final boolean filterAjax) {
		this.files = files;
		this.fileType = fileType;
		this.filterAjax = filterAjax;
		this.host = host;
		this.sessionName = sessionName;
	}

	/**
	 * @return the files
	 */
	public File[] getFiles() {
		return files;
	}
	/**
	 * @param files the files to set
	 */
	public void setFiles(final File[] files) {
		this.files = files;
	}
	/**
	 * @return the sessionName
	 */
	public String getSessionName() {
		return sessionName;
	}
	/**
	 * @param sessionName the sessionName to set
	 */
	public void setSessionName(final String sessionName) {
		this.sessionName = sessionName;
	}
	/**
	 * @return the host
	 */
	public String getHost() {
		return host;
	}
	/**
	 * @param host the host to set
	 */
	public void setHost(final String host) {
		this.host = host;
	}
	/**
	 * @return the filterAjax
	 */
	public boolean isFilterAjax() {
		return filterAjax;
	}
	/**
	 * @param filterAjax the filterAjax to set
	 */
	public void setFilterAjax(final boolean filterAjax) {
		this.filterAjax = filterAjax;
	}

	/**
	 * @return the fileType
	 */
	public InputFileType getFileType() {
		return fileType;
	}

	/**
	 * @param fileType the fileType to set
	 */
	public void setFileType(InputFileType fileType) {
		this.fileType = fileType;
	}

}
